package com.future.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @Auther: 田坑坑
 * @Date: 2022/6/20 14:01
 * @Description:  我题序等你回
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "lost")
public class Lost {
    @TableId(value = "lostId", type = IdType.AUTO)
    private Integer lostid;

    @TableField(value = "lostPeople")
    private String lostpeople;

    @TableField(value = "lostPhone")
    private String lostphone;

    @TableField(value = "lostName")
    private String lostname;

    @TableField(value = "lostPlace")
    private String lostplace;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern ="yyyy-MM-dd" )

    @TableField(value = "lostDate")
    private Date lostdate;

    @TableField(value = "lostStatus")
    private String loststatus;

    @TableField(value = "lostProcessorPhone")
    private String lostprocessorphone;

    @TableField(value = "Receiptor")
    private String receiptor;

    @TableField(value = "ReceiptorPhone")
    private String receiptorphone;

    @TableField(value = "lostPublisher")
    private String lostpublisher;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern ="yyyy-MM-dd" )
    @TableField(value = "lostPublishTime")
    private Date lostpublishtime;

    @TableField(value = "lostUpdatePeople")
    private String lostupdatepeople;


    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern ="yyyy-MM-dd" )

    @TableField(value = "lostUpdateTime")
    private Date lostupdatetime;

    public static final String COL_LOSTID = "lostId";

    public static final String COL_LOSTPEOPLE = "lostPeople";

    public static final String COL_LOSTPHONE = "lostPhone";

    public static final String COL_LOSTNAME = "lostName";

    public static final String COL_LOSTPLACE = "lostPlace";

    public static final String COL_LOSTDATE = "lostDate";

    public static final String COL_LOSTSTATUS = "lostStatus";

    public static final String COL_LOSTPROCESSORPHONE = "lostProcessorPhone";

    public static final String COL_RECEIPTOR = "Receiptor";

    public static final String COL_RECEIPTORPHONE = "ReceiptorPhone";

    public static final String COL_LOSTPUBLISHER = "lostPublisher";

    public static final String COL_LOSTPUBLISHTIME = "lostPublishTime";

    public static final String COL_LOSTUPDATEPEOPLE = "lostUpdatePeople";

    public static final String COL_LOSTUPDATETIME = "lostUpdateTime";
}